<%= error_messages_for "iteration" %>

<div class="simple_form">
<%= form_tag %>

 <div class="form_item">
  <label>Name</label>
  <%= text_field(:iteration, :name, :size => 60) %>
 </div>
 <div class="form_item">
  <label>Description</label>
  <%= text_area(:iteration, :description, :cols => 100, :rows => 15) %>
 </div>
 <div class="form_item submit">
 <% if @action == 'add_iteration' %>
  <input type="hidden" name="iteration[project_fk]" value="<%= @project.project_id %>" />
 <% end %>  
  <input type="hidden" name="form_submitted" value="1" />
  <input type="submit" name="submit" value="Save" />
 </div>
<%= end_form_tag %>
</div>
